var e = require;
var t = module;
var o = exports;
var n,
    i = o,
    a =
        ((n = function (e, t) {
            return (n =
                Object.setPrototypeOf ||
                ({__proto__: []} instanceof Array &&
                    function (e, t) {
                        e.__proto__ = t;
                    }) ||
                function (e, t) {
                    for (var o in t) t.hasOwnProperty(o) && (e[o] = t[o]);
                })(e, t);
        }),
        function (e, t) {
            function o() {
                this.constructor = e;
            }
            n(e, t), (e.prototype = null === t ? Object.create(t) : ((o.prototype = t.prototype), new o()));
        }),
    r = function (e, t, o, n) {
        var i,
            a = arguments.length,
            r = a < 3 ? t : null === n ? (n = Object.getOwnPropertyDescriptor(t, o)) : n;
        if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n);
        else
            for (var s = e.length - 1; s >= 0; s--)
                (i = e[s]) && (r = (a < 3 ? i(r) : a > 3 ? i(t, o, r) : i(t, o)) || r);
        return a > 3 && r && Object.defineProperty(t, o, r), r;
    };
Object.defineProperty(i, "__esModule", {value: !0});
var s = e("GlobalParam"),
    c = e("GameData"),
    l = e("layer_food"),
    d = cc._decorator,
    u = d.ccclass,
    p =
        (d.property,
        (function (e) {
            function t() {
                return (null !== e && e.apply(this, arguments)) || this;
            }
            return (
                a(t, e),
                (t.prototype.start = function () {
                    this.initBaseInfo();
                    for (var e = [], t = 0; t < s.default.GameConfigData.StoreFood; t++) e.push(c.FoodType.StoreFood);
                    for (var o = 0; o < s.default.GameConfigData.Magnet; o++) e.push(c.FoodType.Magnet);
                    for (o = 0; o < s.default.GameConfigData.Double; o++) e.push(c.FoodType.Double);
                    this.TimingAddFood(e);
                }),
                r([u], t)
            );
        })(l.default));
i.default = p;
